package com.fastloan.mgt.dictionary.model.VO;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.List;

/**
 * @author chenkai
 * createTime 2018-01-2018/1/8 17:38
 */
public class DictionaryVO {

    @TreeId
    private Integer id;
    /**
     * 父id
     */
    @TreeParentId
    private Integer parentId;
    /**
     * 名称
     */
    private String name;
    /**
     * 值
     */
    private String value;
    /**
     * 组
     */
    private String groupName;

    /**
     * 英文名
     */
    private String nameUs;


    @TreeChild
    List<DictionaryVO> dictionaryVOS;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNameUs() {
        return nameUs;
    }

    public void setNameUs(String nameUs) {
        this.nameUs = nameUs;
    }

    public List<DictionaryVO> getDictionaryVOS() {
        return dictionaryVOS;
    }

    public void setDictionaryVOS(List<DictionaryVO> dictionaryVOS) {
        this.dictionaryVOS = dictionaryVOS;
    }
}
